package com.yungu.swift.common;

import com.yungu.swift.common.service.CommonSmsService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

/**
 * @author : cuixiuyin
 * @date : 2019/4/28
 */
@RunWith(SpringRunner.class)
@SpringBootTest(classes = Application.class)
public class SmsSend {

    @Autowired
    private CommonSmsService commonSmsService;


    @Test
    public void test() {
        commonSmsService.sendCommon("18769592729", "预约成功！您于出发时间：2019-06-12 14:40:00的订单，我们已确认预约成功，司机将准时接驾。我们将最晚出发前30分钟~1小时，给您发送司机信息。", "yghlf743479e11e9bfbb00163e0c308d");
    }
}
